home *** CD-ROM | disk | FTP | other *** search
Makefile | 1992-09-14 | 782 b | 49 lines |
- FILES = ap1.rle ap2.rle depth.ps depthcolor.rle diff.rle front.rle \
- left.rle mancyl.rle pac.rle pacbw.rle right.rle sphere.rle
-
- all: $(FILES)
-
- #
- # General case for making URT files
- #
-
- %.rle: %.ray
- rayshade -R 256 256 %.ray > %.rle
-
- #
- # Handle the three stereo views
- #
-
- left.rle: balls.ray
- rayshade -R 256 256 -l -E 1 balls.ray > left.rle
-
- front.rle: balls.ray
- rayshade -R 256 256 balls.ray > front.rle
-
- right.rle: balls.ray
- rayshade -R 256 256 -r -E 1 balls.ray > right.rle
-
- #
- # Several hacks to generate depth map files
- #
-
- h2: depth.plot hf
- awk '/#/ || NF == 0 { next } { print }' < depth.plot | hf > h2
-
- depth.ps: depth.plot depth.gp
- mkdps
-
- depthcolor.rle: depthcolor.ray h2 front.rle
-
- hf: hf.c
- cc -g -o hf hf.c
-
-
- #
- # Clean up
- #
-
- clean:
- rm -f *.rle *.ps *.o *.PS hf h2
-
-